<?php 
global $theme_path;

require_once $theme_path . '/includes/top_page.inc';

?>

<?php 
    // Printando slideshow
    print render($page['slideshow']); 
    
    print render($page['slider']); 
?>

<div class="wrapper">
    <?php if(!empty($page['sidebar'])): ?>
    <div>
        <div class="container">
            <div class="row">
                <?php print render($page['sobre_content']); ?>
            </div>
        </div>
    </div>
    <?php endif;?>
    <div class="container">
        <div class="row">
            <div class="view-news">
                <div class="col-md-9">
                    <?php print render($page['content']); ?>
                </div>

                <div class="col-md-3">
                    <?php print render($page['sidebar']); ?>
                </div>  
            </div>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <?php print render($page['sub_content']); ?>
            </div>
        </div> 
    </div>
<?php 
    
    // Print região rodapé
    print render($page['sob_rodape']); 
    
    // Incluindo o rodapé
    require_once $theme_path . '/includes/footer_page.inc';
?>
</div>